package com.tjetc.controller;

import com.tjetc.service.BClassifyService;
import com.tjetc.vo.OperationMessage;
import com.tjetc.vo.Result;
import jakarta.annotation.Resource;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
* @author zc
* @Date 2025/7/16 下午8:17
*/
@RestController
@RequestMapping("b_classify")
public class BClassifyController {
    @Resource
    private BClassifyService bClassifyService;
    @GetMapping("findAll")
    public Result findAll(){
       return bClassifyService.findAll();
    }
    @GetMapping("importAll")
    public Result importAll(){
        return bClassifyService.importAll();
    }
    @GetMapping("deleteAll")
    public Result deleteAll(){
        return bClassifyService.deleteAll();
    }
}
